package com.zhf.service;

/**
 * @Author: ZhaoHuanfeng
 * @Date: 2020/10/28 19:15
 */

import com.zhf.pojo.Course;

import java.util.List;
import java.util.Map;

/**
 * 课程管理模块service层接口
 */
public interface CourseService {

    public List<Course> findCourseList();

    public List<Course> findByCourseNameAndStatus(String courseName, String status);

    public String saveCourseSalesInfo(Course course);

    public Course findCourseById(int id);

    public String updateCourseInfo(Course course);

    public Map<String, Integer> updateCourseStatus(Course course);
}
